import javax.swing.JFrame;
import javax.swing.JLabel;
public class Main {
	

	public static void main(String[] args) {
		JFrame frame = new JFrame("HelloWorldSwing");
		//frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		JLabel label = new JLabel("HelloWorld");
		frame.add(label);
		frame.setSize(300, 400);
		frame.setVisible(true);
		while (true) System.out.println(Math.random());
	
	}

}
